package truef.service.favoriteshop.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import edu.zut.cs.software.base.service.impl.GenericTreeManagerImpl;
import truef.favoriteshop.dao.FavoriteDao;
import truef.favoriteshop.domain.Favorite;
import truef.service.favoriteshop.service.FavoriteManager;
@Service(value="FavoriteManager")
public class FavoriteManagerImpl extends GenericTreeManagerImpl<Favorite, Long> implements FavoriteManager {
	
	FavoriteDao favoriteDao;

	@Autowired
	public void setOrderDao(FavoriteDao favoriteDao) {
		this.favoriteDao = favoriteDao;
		this.treeDao = this.favoriteDao;
		this.dao = this.treeDao;
	}

	@Override
	public boolean check() {
		// TODO Auto-generated method stub
		
		return true;
	}
}
